
// statt #include <stdio.h>
#include <iostream>
using namespace std;

#include <fstream>

/*
	int main(){


		ifstream myInfile; // Input file
		ofstream myOutfile; // Output file

		myInfile.open("myIn.dat"); // Open files
		myOutfile.open("myOut.dat"); // Open files

		// reading: myInfile >> var
		// writing: myOutfile << var

		myInfile.close(); // Close files
		myOutfile.close();

	}
*/

/*

--> ifstream: Dateien lesen
--> ofstream: Dateien schreiben
--> fstream: Dateien lesen und schreiben

*/